package com.example.service;

import com.example.pojo.Privilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-20
 */
public interface PrivilegeService extends IService<Privilege> {
    List<Privilege> selectRootPrivilege();

    List<Privilege> selectByParentId(Integer parentId);
}
